<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-notifyRecord-edit" th:object="${notifyRecord}">
        <input id="id" name="id" th:field="*{id}" type="hidden">
        <div class="form-group">
            <label class="col-sm-3 control-label">通知通告ID：</label>
            <div class="col-sm-8">
                <input id="notifyId" name="notifyId" th:field="*{notifyId}" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">接受人：</label>
            <div class="col-sm-8">
                <input id="userId" name="userId" th:field="*{userId}" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">阅读标记：</label>
            <div class="col-sm-8">
                <input id="isRead" name="isRead" th:field="*{isRead}" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">阅读时间：</label>
            <div class="col-sm-8">
                <input id="readDate" name="readDate" th:field="*{readDate}" class="form-control" type="text">
            </div>
        </div>
    </form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
    var prefix = ctx + "module/notifyRecord"
    $("#form-notifyRecord-edit").validate({
        rules: {
            xxxx: {
                required: true,
            },
        }
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/edit", $('#form-notifyRecord-edit').serialize());
        }
    }
</script>
</body>
</html>